import axiosInstance from "@/utils/HtppUtils";
import qs from "qs";
export default {
    //获取分类分页查询列表
    pageSelectFoodCategory(param){
        return axiosInstance.get('/foodCategory/pageSelectFoodCategory?'+qs.stringify(param))
    },
    //添加食品分类
    saveCategory(param){
        return axiosInstance.post('/foodCategory/saveCategory',param)
    },
    //修改食品分类
    updateCategory(param){
        return axiosInstance.put('/foodCategory/updateCategory',param)
    },
     //删除食品分类
     deleteCategory(param){
        return axiosInstance.delete('/foodCategory/deleteCategory/'+param)
     }
}